package test.testVo;

import lombok.Data;

@Data
public abstract class AbstractPerson {
    private String name;
    private int age;
    private String male;

    public  AbstractPerson(String name ,int age,String male){
        this.name = name ;
        this.age = age ;
        this.male = male;
    }

    public abstract void  say();

    public abstract void eat();

    public void test(){
        say();
        eat();
    }
}
